package com.studio49.exmple.entity.web.sys;

import javax.persistence.Column;
import javax.persistence.Table;

import com.studio49.exmple.core.entity.BaseEntity;

/**
 * Menus控制器
 *
 * 
 */
@Table(name = "sys_menus")
public class Menus extends BaseEntity {

	private static final long serialVersionUID = -1236130510086083225L;

	/** pid */
	@Column(name = "is_dir")
	private Long isDir;
	
	/** pid */
	@Column(name = "pid")
	private Long pid;

	/** menu_name */
	@Column(name = "menu_name")
	private String menuName;

	/** menu_name_en */
	@Column(name = "menu_name_en")
	private String menuNameEn;
	
	/** menu_key */
	@Column(name = "menu_key")
	private String menuKey;

	/** url */
	@Column(name = "url")
	private String url;

	/** description */
	@Column(name = "description")
	private String description;

	/** icon */
	@Column(name = "icon")
	private String icon;

	/** order_by */
	@Column(name = "order_by")
	private Short orderBy;

	/** is_open */
	@Column(name = "is_open")
	private Short isOpen;

	/** is_deleted */
	@Column(name = "is_deleted")
	private Short isDeleted;

	

	/**
	 * getPid
	 * 
	 * @return Long
	 */
	public Long getPid() {
		return this.pid;
	}

	/**
	 * setPid
	 * 
	 * @param pid
	 *            pid to set
	 */
	public void setPid(Long pid) {
		this.pid = pid;
	}


	/**
	 * getMenuName
	 * 
	 * @return String
	 */
	public String getMenuName() {
		return this.menuName;
	}

	/**
	 * setMenuName
	 * 
	 * @param menuName
	 *            menuName to set
	 */
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	/**
	 * getMenuNameEn
	 * 
	 * @return String
	 */
	public String getMenuNameEn() {
		return this.menuNameEn;
	}

	/**
	 * setMenuNameEn
	 * 
	 * @param menuNameEn
	 *            menuNameEn to set
	 */
	public void setMenuNameEn(String menuNameEn) {
		this.menuNameEn = menuNameEn;
	}

	/**
	 * getUrl
	 * 
	 * @return String
	 */
	public String getUrl() {
		return this.url;
	}

	/**
	 * setUrl
	 * 
	 * @param url
	 *            url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * getDescription
	 * 
	 * @return String
	 */
	public String getDescription() {
		return this.description;
	}

	/**
	 * setDescription
	 * 
	 * @param description
	 *            description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * getIcon
	 * 
	 * @return String
	 */
	public String getIcon() {
		return this.icon;
	}

	/**
	 * setIcon
	 * 
	 * @param icon
	 *            icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * getOrderBy
	 * 
	 * @return Short
	 */
	public Short getOrderBy() {
		return this.orderBy;
	}

	/**
	 * setOrderBy
	 * 
	 * @param orderBy
	 *            orderBy to set
	 */
	public void setOrderBy(Short orderBy) {
		this.orderBy = orderBy;
	}

	/**
	 * getIsOpen
	 * 
	 * @return Short
	 */
	public Short getIsOpen() {
		return this.isOpen;
	}

	/**
	 * setIsOpen
	 * 
	 * @param isOpen
	 *            isOpen to set
	 */
	public void setIsOpen(Short isOpen) {
		this.isOpen = isOpen;
	}

	/**
	 * getIsDeleted
	 * 
	 * @return Short
	 */
	public Short getIsDeleted() {
		return this.isDeleted;
	}

	/**
	 * setIsDeleted
	 * 
	 * @param isDeleted
	 *            isDeleted to set
	 */
	public void setIsDeleted(Short isDeleted) {
		this.isDeleted = isDeleted;
	}
	
	public Long getIsDir() {
		return isDir;
	}

	public void setIsDir(Long isDir) {
		this.isDir = isDir;
	}

	public String getMenuKey() {
		return menuKey;
	}

	public void setMenuKey(String menuKey) {
		this.menuKey = menuKey;
	}

}